package com.enjoyor.health.HGPT.core.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.enjoyor.health.HGPT.core.entity.HealthIndicatorInfo;
import com.enjoyor.health.HGPT.core.entity.UserInfo;
import com.enjoyor.health.HGPT.core.mapper.HealthIndicatorInfoMapper;
import com.enjoyor.health.HGPT.core.service.IHealthIndicatorInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author enjoyor
 * @since 2023-12-07
 */
@Service
public class HealthIndicatorInfoServiceImpl extends ServiceImpl<HealthIndicatorInfoMapper, HealthIndicatorInfo> implements IHealthIndicatorInfoService {

    @Override
    public List<HealthIndicatorInfo> getAll() {
        QueryWrapper<HealthIndicatorInfo> queryWrapper = Wrappers.query();
        return baseMapper.selectList(queryWrapper);
    }
}
